//
//  DFProductCellHeader.swift
//  DailyFresh
//
//  Created by Arthur on 2017/9/28.
//  Copyright © 2017年 DailyFresh. All rights reserved.
//

import UIKit

let DFProductCellHeaderHeight = normalize(value: 55)

class DFProductCellHeader: UICollectionReusableView {
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.addSubview(title)
        title.snp.makeConstraints { (make) in
            make.left.equalTo(DFLayoutConstants.margin)
            make.bottom.equalTo(0)
            make.width.equalTo(self)
            make.height.equalTo(25)
        }
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    lazy var title: UILabel = {
        let tmp = UILabel()
        tmp.text = "今日特价"
        tmp.textColor = UIColor.black
        tmp.font = UIFont.boldSystemFont(ofSize: 15)
        return tmp
    }()
}
